package com.ruoyi.device.mapper;

import com.ruoyi.device.domain.HatDeviceRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.device.domain.req.devicebind.DeviceBindReq;
import com.ruoyi.device.domain.resp.devicebind.DeviceBindResp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author ZhuJunKun
* @description 针对表【hat_device_role(安全帽设备角色绑定表)】的数据库操作Mapper
* @createDate 2023-11-30 17:33:02
* @Entity com.ruoyi.device.domain.HatDeviceRole
*/
public interface HatDeviceRoleMapper extends BaseMapper<HatDeviceRole> {
    List<DeviceBindResp> search(@Param("req") DeviceBindReq req);
    Boolean unbinding(@Param("id") Integer id);
}




